package app.fugema.shop.main.home.model;

import java.util.List;

public class HomeData
{

    private List<LModulesBean> LModules;

    public List<LModulesBean> getLModules()
    {
        return LModules;
    }

    public void setLModules(List<LModulesBean> LModules)
    {
        this.LModules = LModules;
    }

    public static class LModulesBean
    {
        /**
         * id : 201832113641140
         * type : 9
         * draggable : true
         * sort : 0
         * content : {"showType":1,"space":0,"margin":10,"dataset":[{"linkType":8,"link":"","title":"","pic":"http://www.fugema.cn/Storage/template/0/20190421/6369147530504964942606110.gif","showtitle":""},{"linkType":0,"link":"","title":"","showtitle":"","pic":"https://www.fugema.cn:443/Storage/template/0/20200219/6371770690094416238164445.gif"},{"linkType":0,"link":"","title":"","showtitle":"","pic":"https://www.fugema.cn:443/Storage/template/0/20200219/6371770690094416238164445.gif"}]}
         */

        private String id;
        private int type;
        private boolean draggable;
        private int sort;
        private ContentBean content;
        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public boolean isDraggable() {
            return draggable;
        }

        public void setDraggable(boolean draggable) {
            this.draggable = draggable;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public ContentBean getContent() {
            return content;
        }

        public void setContent(ContentBean content) {
            this.content = content;
        }


    }

    public static class ContentBean {
        /**
         * showType : 1
         * space : 0
         * margin : 10
         * dataset : [{"linkType":8,"link":"","title":"","pic":"http://www.fugema.cn/Storage/template/0/20190421/6369147530504964942606110.gif","showtitle":""},{"linkType":0,"link":"","title":"","showtitle":"","pic":"https://www.fugema.cn:443/Storage/template/0/20200219/6371770690094416238164445.gif"},{"linkType":0,"link":"","title":"","showtitle":"","pic":"https://www.fugema.cn:443/Storage/template/0/20200219/6371770690094416238164445.gif"}]
         */

        private int showType;
        private int space;
        private int margin;
        private List<DatasetBean> dataset;

        public int getShowType() {
            return showType;
        }

        public void setShowType(int showType) {
            this.showType = showType;
        }

        public int getSpace() {
            return space;
        }

        public void setSpace(int space) {
            this.space = space;
        }

        public int getMargin() {
            return margin;
        }

        public void setMargin(int margin) {
            this.margin = margin;
        }

        public List<DatasetBean> getDataset() {
            return dataset;
        }

        public void setDataset(List<DatasetBean> dataset) {
            this.dataset = dataset;
        }


    }

    public static class DatasetBean
    {
        /**
         * linkType : 6
         * link : /m-wap/LimitTimeBuy/Home
         * title : 限时购列表
         * pic : https://www.fugema.cn:443/Storage/template/0/20210423/6375480991680960591098775.png
         * picHeight : 0
         * pc_link : /m-wap/vshop/CouponInfo/13
         * showtitle : 限时抢购
         */
        private int linkType;
        private String link;
        private String title;
        private String pic;
        private int picHeight;
        private String pc_link;
        private String showtitle;

        public int getLinkType()
        {
            return linkType;
        }

        public void setLinkType(int linkType)
        {
            this.linkType = linkType;
        }

        public String getLink()
        {
            return link;
        }

        public void setLink(String link)
        {
            this.link = link;
        }

        public String getTitle()
        {
            return title;
        }

        public void setTitle(String title)
        {
            this.title = title;
        }

        public String getPic()
        {
            return pic;
        }

        public void setPic(String pic)
        {
            this.pic = pic;
        }

        public int getPicHeight()
        {
            return picHeight;
        }

        public void setPicHeight(int picHeight)
        {
            this.picHeight = picHeight;
        }

        public String getPc_link()
        {
            return pc_link;
        }

        public void setPc_link(String pc_link)
        {
            this.pc_link = pc_link;
        }

        public String getShowtitle()
        {
            return showtitle;
        }

        public void setShowtitle(String showtitle)
        {
            this.showtitle = showtitle;
        }
    }

}
